package com.study.dsa.demo.structure.suffix;

import org.junit.Test;

public class CalSuffixTest {


    @Test
    public void test() {
        //中缀表达式：1*(2+3)-5/(2+3) = 4
        //后缀表达式：123+*123+/-
        CalSuffix cs = new CalSuffix("123+*523+/-");
        System.out.println(cs.doCalc()); //4
    }
}
